Skip to content

London|25-SDC-NOV| FATMA DEGIRMENCI | Sprint 1|Analyse and Refactor#98

Open
fatmaevin wants to merge 8 commits intoCodeYourFuture:mainfrom
fatmaevin:Sprint-1
Open

London|25-SDC-NOV| FATMA DEGIRMENCI | Sprint 1|Analyse and Refactor#98
fatmaevin wants to merge 8 commits intoCodeYourFuture:mainfrom
fatmaevin:Sprint-1

Conversation

@fatmaevin
Copy link

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

@fatmaevin fatmaevin added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 12, 2026
Copy link

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored code and analyses are good.

Maybe one overlooked case?

* Space Complexity:
* Optimal Time Complexity:
* Time Complexity:To using nested loop for compare elements time complexity will be ---> O(n*n)
* Space Complexity:We only use few variables -->O(1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few variables means O(1) space complexity?
The space complexity in Sprint-1/JavaScript/findCommonItems/findCommonItems.js is O(n) even though it also uses a few variables.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants